package cn.jisol.ngame.demo.game.action.picopark.client;

import cn.jisol.ngame.demo.entity.picopark.PicoparkRoom;
import cn.jisol.ngame.rpc.NGameRPCClass;
import cn.jisol.ngame.rpc.NGameRPCMethod;
import cn.jisol.ngame.sync.NFPSInfo;


/**
 * Cocos Frame 客户端 Action
 */
@NGameRPCClass
public interface CNPicoparkAction {

    /**
     * 接收帧同步
     */
    @NGameRPCMethod
    public void nGameSyncInputCallBack(NFPSInfo<Object> nFPSInfo);

    /**
     * 发送房间信息
     */
    @NGameRPCMethod
    public void nGameRoomInfo(PicoparkRoom room);

    /**
     * 结束游戏通知
     */
    @NGameRPCMethod
    public void nGameEndGame();

}
